| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

LogWrapper.h
1 // LogWrapper.h
3 //
5
6 namespace nkAstraeus::nkAstraeusWrap
7 {
11 class LogWrapper final
12 {
13 public :
14
15 // Environment update
22 static void updateEnvironment (nkScripts::Environment* env, LogManager* targetLogManager) ;
23
24 // Callbacks
37 static nkScripts::OutputValue log (LogManager* targetLogManager, const nkScripts::DataStack& stack) ;
38 } ;
39 }
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkAstraeusWrap::LogWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env, LogManager *targetLogManager)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::LogManager
Responsible for logging all messages from the component. By registering a nkLog::Logger inside,...
Definition: LogManager.h:13
nkAstraeus::nkAstraeusWrap
Encompasses the wrapping of nkAstraeus for scripting.
Definition: EnvironmentInitializer.h:7
nkAstraeus::nkAstraeusWrap::LogWrapper::log
static nkScripts::OutputValue log(LogManager *targetLogManager, const nkScripts::DataStack &stack)
nkAstraeus::nkAstraeusWrap::LogWrapper
Wraps the nkAstraeus::LogManager, and offers functions to use it from a scripting environment.
Definition: LogWrapper.h:12